from selenium.webdriver.common.by import By


class AddresspageLocator:

    address_link_loc = (By.LINK_TEXT, "地址管理")
    new_address_loc = (By.XPATH, '//span[text()="增加新地址"]')
    consignee_loc = (By.NAME, "consignee")
    mobile_loc = (By.NAME, "mobile")
    province_loc = (By.NAME, "province")
    city_loc = (By.NAME, "city")
    district_loc = (By.NAME, "district")
    twon_loc = (By.NAME, "twon")
    address_loc = (By.NAME, "address")
    save_address_loc = (By.ID, "address_submit")